package de.tum.in.eist.poll.pub.shared;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * Representation of a feedback submitted by a student.
 */
public class Feedback implements IsSerializable {
	
	/**
	 * The lecture the feedback addresses.
	 */
	public Lecture lecture;
	
	/**
	 * The student who submitted the feedback. 
	 */
	public Student student;
	
	/**
	 * Default zero-argument constructor.
	 */
	public Feedback() {
	}
	
	/**
	 * @param lecture {@link #lecture}
	 * @param student {@link #student}
	 */
	public Feedback(Lecture lecture, Student student) {
		this.lecture = lecture;
		this.student = student;
	}
	
	/**
	 * @return the {@link #lecture}.
	 */
	public Lecture getLecture() {
		return lecture;
	}
	
	/**
	 * @return the {@link #student}.
	 */
	public Student getStudent() {
		return student;
	}
}
